package com.bsoft.gol.hcs.his.service;


import com.bsoft.gol.hcs.clinical.bean.req.QueryDrugInformationRequest;
import com.bsoft.gol.hcs.clinical.bean.req.RecipeDrugstoreRequest;
import com.bsoft.gol.hcs.clinical.bean.response.DrugInformationTotalResponse;
import com.bsoft.gol.hcs.clinical.bean.vo.DrugstoreInfo;
import com.bsoft.gol.hcs.his.bean.historydrug.QueryDrugResp;
import ctd.controller.exception.ControllerException;
import ctd.util.annotation.RpcService;
import hcn.util.BaseResponse;

/**
 * @Description: 电子病历his服务层
 * @Author: zhaorb
 * @Date: 2020/8/21 10:35
 **/
public interface IElectronicMedicalHisService {

    BaseResponse<DrugInformationTotalResponse> queryHisDrugInformation(QueryDrugInformationRequest request);

    BaseResponse<DrugInformationTotalResponse> queryHisPlateformDrugInformation(QueryDrugInformationRequest request);

    //获取药房代码
    BaseResponse<DrugstoreInfo> recipeDrugstore(RecipeDrugstoreRequest request);

    @RpcService
    BaseResponse<DrugstoreInfo> hisPlateformRecipeDrugstore(RecipeDrugstoreRequest request);
    /**
     * @description: 医院平台获取药品信息
     * @param: request
     * @return: 药品信息
     */
    QueryDrugResp queryDrugInfoByCode(QueryDrugInformationRequest request) throws ControllerException;

}
